/**
 * Copyright 2015 jianglibo@gmail.com
 *
 */
package com.m3958.logcollector.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author jianglibo@gmail.com
 *         2016年1月12日
 *
 */
@Component
@ConfigurationProperties(prefix = "myapp.cache")
public class AppCacheConfig {

    private long maxTreeWeigher = 10000000; //10M
    

    public long getMaxTreeWeigher() {
        return maxTreeWeigher;
    }

    public void setMaxTreeWeigher(long maxTreeWeigher) {
        this.maxTreeWeigher = maxTreeWeigher;
    }
    
}
